<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title></title>
	<style type="text/css">
		div{
			width: 200px;
			height: 200px;
			background: red url() 0 0 no-repeat;
			margin: 10px;
		}
	
	</style>
	<script type="text/javascript">
		window.onload = function  () {

			box = document.getElementsByClassName("box");

			box1 = document.getElementsByClassName("box1");


			x=0;

			box[0].onclick = function  () {
				if(x==0){
					data = box1[0].innerHTML;
					box[0].innerHTML=data;

					box1[0].style.display="none";
					x=1;
				}else{
					box[0].innerHTML='';

					box1[0].style.display="block";
					x=0;
				}
			}

		}

	</script>
</head>
<body>
	<div class="box">
		
	</div>
	<div class="box1">
		学并思
	</div>

</body>
</html>